package com.dt.platform.domain.hr.meta;

import com.github.foxnic.api.bean.BeanProperty;
import com.dt.platform.domain.hr.PaperQuestionItem;
import java.util.Date;
import javax.persistence.Transient;



/**
 * @author 金杰 , maillank@qq.com
 * @since 2024-09-29 15:56:59
 * @sign 2C4E5852252828105D4BC5EC1DD9561D
 * 此文件由工具自动生成，请勿修改。若表结构或配置发生变动，请使用工具重新生成。
*/

public class PaperQuestionItemMeta {
	
	/**
	 * 主键 , 类型: java.lang.String
	 */
	public static final String ID="id";
	
	/**
	 * 主键 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,ID, java.lang.String.class, "主键", "主键", java.lang.String.class, null);
	
	/**
	 * 题目 , 类型: java.lang.String
	 */
	public static final String QUESTION_ID="questionId";
	
	/**
	 * 题目 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> QUESTION_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,QUESTION_ID, java.lang.String.class, "题目", "题目", java.lang.String.class, null);
	
	/**
	 * 编号 , 类型: java.lang.String
	 */
	public static final String CODE="code";
	
	/**
	 * 编号 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> CODE_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,CODE, java.lang.String.class, "编号", "编号", java.lang.String.class, null);
	
	/**
	 * 内容 , 类型: java.lang.String
	 */
	public static final String CONTENT="content";
	
	/**
	 * 内容 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> CONTENT_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,CONTENT, java.lang.String.class, "内容", "内容", java.lang.String.class, null);
	
	/**
	 * 图片 , 类型: java.lang.String
	 */
	public static final String IMAGE_ID="imageId";
	
	/**
	 * 图片 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> IMAGE_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,IMAGE_ID, java.lang.String.class, "图片", "图片", java.lang.String.class, null);
	
	/**
	 * 答案 , 类型: java.lang.String
	 */
	public static final String SELECTED="selected";
	
	/**
	 * 答案 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> SELECTED_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,SELECTED, java.lang.String.class, "答案", "答案", java.lang.String.class, null);
	
	/**
	 * 排序 , 类型: java.lang.Integer
	 */
	public static final String SORT="sort";
	
	/**
	 * 排序 , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.Integer> SORT_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,SORT, java.lang.Integer.class, "排序", "排序", java.lang.Integer.class, null);
	
	/**
	 * 创建人ID , 类型: java.lang.String
	 */
	public static final String CREATE_BY="createBy";
	
	/**
	 * 创建人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> CREATE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,CREATE_BY, java.lang.String.class, "创建人ID", "创建人ID", java.lang.String.class, null);
	
	/**
	 * 创建时间 , 类型: java.util.Date
	 */
	public static final String CREATE_TIME="createTime";
	
	/**
	 * 创建时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.util.Date> CREATE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,CREATE_TIME, java.util.Date.class, "创建时间", "创建时间", java.util.Date.class, null);
	
	/**
	 * 修改人ID , 类型: java.lang.String
	 */
	public static final String UPDATE_BY="updateBy";
	
	/**
	 * 修改人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> UPDATE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,UPDATE_BY, java.lang.String.class, "修改人ID", "修改人ID", java.lang.String.class, null);
	
	/**
	 * 修改时间 , 类型: java.util.Date
	 */
	public static final String UPDATE_TIME="updateTime";
	
	/**
	 * 修改时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.util.Date> UPDATE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,UPDATE_TIME, java.util.Date.class, "修改时间", "修改时间", java.util.Date.class, null);
	
	/**
	 * 是否已删除 , 类型: java.lang.Integer
	 */
	public static final String DELETED="deleted";
	
	/**
	 * 是否已删除 , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.Integer> DELETED_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,DELETED, java.lang.Integer.class, "是否已删除", "是否已删除", java.lang.Integer.class, null);
	
	/**
	 * 删除人ID , 类型: java.lang.String
	 */
	public static final String DELETE_BY="deleteBy";
	
	/**
	 * 删除人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> DELETE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,DELETE_BY, java.lang.String.class, "删除人ID", "删除人ID", java.lang.String.class, null);
	
	/**
	 * 删除时间 , 类型: java.util.Date
	 */
	public static final String DELETE_TIME="deleteTime";
	
	/**
	 * 删除时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.util.Date> DELETE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,DELETE_TIME, java.util.Date.class, "删除时间", "删除时间", java.util.Date.class, null);
	
	/**
	 * version , 类型: java.lang.Integer
	 */
	public static final String VERSION="version";
	
	/**
	 * version , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.Integer> VERSION_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,VERSION, java.lang.Integer.class, "version", "version", java.lang.Integer.class, null);
	
	/**
	 * selectedCode , 类型: java.lang.String
	 */
	public static final String SELECTED_CODE="selectedCode";
	
	/**
	 * selectedCode , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperQuestionItem,java.lang.String> SELECTED_CODE_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperQuestionItem.class ,SELECTED_CODE, java.lang.String.class, "selectedCode", "selectedCode", java.lang.String.class, null);
	
	/**
	 * 全部属性清单
	 */
	public static final String[] $PROPS={ ID , QUESTION_ID , CODE , CONTENT , IMAGE_ID , SELECTED , SORT , CREATE_BY , CREATE_TIME , UPDATE_BY , UPDATE_TIME , DELETED , DELETE_BY , DELETE_TIME , VERSION , SELECTED_CODE };
	
	/**
	 * 代理类
	 */
	public static class $$proxy$$ extends com.dt.platform.domain.hr.PaperQuestionItem {

		private static final long serialVersionUID = 1L;

		
		/**
		 * 设置 主键
		 * @param id 主键
		 * @return 当前对象
		*/
		public PaperQuestionItem setId(String id) {
			super.change(ID,super.getId(),id);
			super.setId(id);
			return this;
		}
		
		/**
		 * 设置 题目
		 * @param questionId 题目
		 * @return 当前对象
		*/
		public PaperQuestionItem setQuestionId(String questionId) {
			super.change(QUESTION_ID,super.getQuestionId(),questionId);
			super.setQuestionId(questionId);
			return this;
		}
		
		/**
		 * 设置 编号
		 * @param code 编号
		 * @return 当前对象
		*/
		public PaperQuestionItem setCode(String code) {
			super.change(CODE,super.getCode(),code);
			super.setCode(code);
			return this;
		}
		
		/**
		 * 设置 内容
		 * @param content 内容
		 * @return 当前对象
		*/
		public PaperQuestionItem setContent(String content) {
			super.change(CONTENT,super.getContent(),content);
			super.setContent(content);
			return this;
		}
		
		/**
		 * 设置 图片
		 * @param imageId 图片
		 * @return 当前对象
		*/
		public PaperQuestionItem setImageId(String imageId) {
			super.change(IMAGE_ID,super.getImageId(),imageId);
			super.setImageId(imageId);
			return this;
		}
		
		/**
		 * 设置 答案
		 * @param selected 答案
		 * @return 当前对象
		*/
		public PaperQuestionItem setSelected(String selected) {
			super.change(SELECTED,super.getSelected(),selected);
			super.setSelected(selected);
			return this;
		}
		
		/**
		 * 设置 排序
		 * @param sort 排序
		 * @return 当前对象
		*/
		public PaperQuestionItem setSort(Integer sort) {
			super.change(SORT,super.getSort(),sort);
			super.setSort(sort);
			return this;
		}
		
		/**
		 * 设置 创建人ID
		 * @param createBy 创建人ID
		 * @return 当前对象
		*/
		public PaperQuestionItem setCreateBy(String createBy) {
			super.change(CREATE_BY,super.getCreateBy(),createBy);
			super.setCreateBy(createBy);
			return this;
		}
		
		/**
		 * 设置 创建时间
		 * @param createTime 创建时间
		 * @return 当前对象
		*/
		public PaperQuestionItem setCreateTime(Date createTime) {
			super.change(CREATE_TIME,super.getCreateTime(),createTime);
			super.setCreateTime(createTime);
			return this;
		}
		
		/**
		 * 设置 修改人ID
		 * @param updateBy 修改人ID
		 * @return 当前对象
		*/
		public PaperQuestionItem setUpdateBy(String updateBy) {
			super.change(UPDATE_BY,super.getUpdateBy(),updateBy);
			super.setUpdateBy(updateBy);
			return this;
		}
		
		/**
		 * 设置 修改时间
		 * @param updateTime 修改时间
		 * @return 当前对象
		*/
		public PaperQuestionItem setUpdateTime(Date updateTime) {
			super.change(UPDATE_TIME,super.getUpdateTime(),updateTime);
			super.setUpdateTime(updateTime);
			return this;
		}
		
		/**
		 * 设置 是否已删除
		 * @param deleted 是否已删除
		 * @return 当前对象
		*/
		public PaperQuestionItem setDeleted(Integer deleted) {
			super.change(DELETED,super.getDeleted(),deleted);
			super.setDeleted(deleted);
			return this;
		}
		
		/**
		 * 设置 删除人ID
		 * @param deleteBy 删除人ID
		 * @return 当前对象
		*/
		public PaperQuestionItem setDeleteBy(String deleteBy) {
			super.change(DELETE_BY,super.getDeleteBy(),deleteBy);
			super.setDeleteBy(deleteBy);
			return this;
		}
		
		/**
		 * 设置 删除时间
		 * @param deleteTime 删除时间
		 * @return 当前对象
		*/
		public PaperQuestionItem setDeleteTime(Date deleteTime) {
			super.change(DELETE_TIME,super.getDeleteTime(),deleteTime);
			super.setDeleteTime(deleteTime);
			return this;
		}
		
		/**
		 * 设置 version
		 * @param version version
		 * @return 当前对象
		*/
		public PaperQuestionItem setVersion(Integer version) {
			super.change(VERSION,super.getVersion(),version);
			super.setVersion(version);
			return this;
		}
		
		/**
		 * 设置 selectedCode
		 * @param selectedCode selectedCode
		 * @return 当前对象
		*/
		public PaperQuestionItem setSelectedCode(String selectedCode) {
			super.change(SELECTED_CODE,super.getSelectedCode(),selectedCode);
			super.setSelectedCode(selectedCode);
			return this;
		}

		/**
		 * 克隆当前对象
		*/
		@Transient
		public PaperQuestionItem clone() {
			return duplicate(true);
		}

		/**
		 * 复制当前对象
		 * @param all 是否复制全部属性，当 false 时，仅复制来自数据表的属性
		*/
		@Transient
		public PaperQuestionItem duplicate(boolean all) {
			$$proxy$$ inst=new $$proxy$$();
			inst.setQuestionId(this.getQuestionId());
			inst.setCode(this.getCode());
			inst.setImageId(this.getImageId());
			inst.setUpdateTime(this.getUpdateTime());
			inst.setSort(this.getSort());
			inst.setVersion(this.getVersion());
			inst.setContent(this.getContent());
			inst.setCreateBy(this.getCreateBy());
			inst.setDeleted(this.getDeleted());
			inst.setCreateTime(this.getCreateTime());
			inst.setUpdateBy(this.getUpdateBy());
			inst.setDeleteTime(this.getDeleteTime());
			inst.setDeleteBy(this.getDeleteBy());
			inst.setId(this.getId());
			inst.setSelected(this.getSelected());
			if(all) {
				inst.setSelectedCode(this.getSelectedCode());
			}
			inst.clearModifies();
			return inst;
		}

	}
}